package utils;

/**
 * 插入结果对象：getCount返回影响行数(成功为1)，getId返回插入的Id(失败为-1)
 * @author zhrb
 *
 */
public class ResultOfInsert {
	/*
	 * 存储刚刚插入数据的id
	 */
	private Integer id = -1;
	/*
	 * 存储影响的记录条数
	 */
	private int count = 0;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}

}
